﻿namespace ACCOUNTING
{
    using ACCOUNTING.LVY.Business;
    using ACCOUNTING.My;
    using ACCOUNTING.My.Resources;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_NhapDuLieu : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("CmdChon")]
        private Button _CmdChon;
        [AccessedThroughProperty("cmdLoad")]
        private Button _cmdLoad;
        [AccessedThroughProperty("cmdThoat")]
        private Button _cmdThoat;
        [AccessedThroughProperty("dlg")]
        private OpenFileDialog _dlg;
        [AccessedThroughProperty("Label1")]
        private Label _Label1;
        [AccessedThroughProperty("Label2")]
        private Label _Label2;
        [AccessedThroughProperty("Label3")]
        private Label _Label3;
        [AccessedThroughProperty("Panel1")]
        private Panel _Panel1;
        [AccessedThroughProperty("Panel2")]
        private Panel _Panel2;
        [AccessedThroughProperty("Panel3")]
        private Panel _Panel3;
        [AccessedThroughProperty("radDonViTinh")]
        private RadioButton _radDonViTinh;
        [AccessedThroughProperty("radHangHoa")]
        private RadioButton _radHangHoa;
        [AccessedThroughProperty("radHangSanXuat")]
        private RadioButton _radHangSanXuat;
        [AccessedThroughProperty("radKhachHang")]
        private RadioButton _radKhachHang;
        [AccessedThroughProperty("radKho")]
        private RadioButton _radKho;
        [AccessedThroughProperty("radLoaiKhachHang")]
        private RadioButton _radLoaiKhachHang;
        [AccessedThroughProperty("radNganhHang")]
        private RadioButton _radNganhHang;
        [AccessedThroughProperty("radNganhKinhDoanh")]
        private RadioButton _radNganhKinhDoanh;
        [AccessedThroughProperty("radNhaCungCap")]
        private RadioButton _radNhaCungCap;
        [AccessedThroughProperty("radNhomHangHoa")]
        private RadioButton _radNhomHangHoa;
        [AccessedThroughProperty("radQuocGia")]
        private RadioButton _radQuocGia;
        [AccessedThroughProperty("txtFileName")]
        private TextBox _txtFileName;
        private IContainer components;
        private string strLoai;

        public Frm_NhapDuLieu()
        {
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.strLoai = "";
            this.InitializeComponent();
        }

        private void CmdChon_Click(object sender, EventArgs e)
        {
            if (!Operators.ConditionalCompareObjectEqual(LVYModule.ReturnIfNull(this.txtFileName.Text.Trim(), "", modGeneral.TypeOfValue.Nothing), "", false))
            {
                MyProject.Forms.Frm_HienThiDuLieu.Dispose();
                MyProject.Forms.Frm_HienThiDuLieu.strFileName = this.txtFileName.Text.Trim();
                MyProject.Forms.Frm_HienThiDuLieu.strLoai = this.strLoai;
                MyProject.Forms.Frm_HienThiDuLieu.ShowDialog();
            }
        }

        private void cmdLoad_Click(object sender, EventArgs e)
        {
            this.dlg.DefaultExt = "xls";
            this.dlg.FileName = "*.xls";
            if (this.dlg.ShowDialog() == DialogResult.OK)
            {
                this.txtFileName.Text = this.dlg.FileName;
            }
        }

        private void cmdThoat_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            try
            {
                if (disposing && (this.components != null))
                {
                    this.components.Dispose();
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            this.dlg = new OpenFileDialog();
            this.Panel3 = new Panel();
            this.CmdChon = new Button();
            this.cmdThoat = new Button();
            this.Panel2 = new Panel();
            this.radKho = new RadioButton();
            this.Label3 = new Label();
            this.radHangHoa = new RadioButton();
            this.radNhomHangHoa = new RadioButton();
            this.radQuocGia = new RadioButton();
            this.radKhachHang = new RadioButton();
            this.radNhaCungCap = new RadioButton();
            this.radHangSanXuat = new RadioButton();
            this.radNganhHang = new RadioButton();
            this.radLoaiKhachHang = new RadioButton();
            this.radNganhKinhDoanh = new RadioButton();
            this.radDonViTinh = new RadioButton();
            this.Panel1 = new Panel();
            this.Label2 = new Label();
            this.Label1 = new Label();
            this.cmdLoad = new Button();
            this.txtFileName = new TextBox();
            this.Panel3.SuspendLayout();
            this.Panel2.SuspendLayout();
            this.Panel1.SuspendLayout();
            this.SuspendLayout();
            this.dlg.FileName = "OpenFileDialog1";
            this.Panel3.BackgroundImage = ACCOUNTING.My.Resources.Resources.bgleft;
            this.Panel3.Controls.Add(this.CmdChon);
            this.Panel3.Controls.Add(this.cmdThoat);
            this.Panel3.Dock = DockStyle.Bottom;
            Point point = new Point(0, 0x11b);
            this.Panel3.Location = point;
            this.Panel3.Name = "Panel3";
            Size size = new Size(0x2d3, 0x1d);
            this.Panel3.Size = size;
            this.Panel3.TabIndex = 2;
            this.CmdChon.Image = ACCOUNTING.My.Resources.Resources._Select;
            this.CmdChon.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(500, 3);
            this.CmdChon.Location = point;
            this.CmdChon.Name = "CmdChon";
            size = new Size(0x6b, 0x17);
            this.CmdChon.Size = size;
            this.CmdChon.TabIndex = 1;
            this.CmdChon.Text = "&Chọn";
            this.CmdChon.UseVisualStyleBackColor = true;
            this.cmdThoat.Image = ACCOUNTING.My.Resources.Resources.Remove;
            this.cmdThoat.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x265, 3);
            this.cmdThoat.Location = point;
            this.cmdThoat.Name = "cmdThoat";
            size = new Size(0x6b, 0x17);
            this.cmdThoat.Size = size;
            this.cmdThoat.TabIndex = 0;
            this.cmdThoat.Text = "&Tho\x00e1t";
            this.cmdThoat.UseVisualStyleBackColor = true;
            this.Panel2.BackgroundImage = ACCOUNTING.My.Resources.Resources.background;
            this.Panel2.Controls.Add(this.radKho);
            this.Panel2.Controls.Add(this.Label3);
            this.Panel2.Controls.Add(this.radHangHoa);
            this.Panel2.Controls.Add(this.radNhomHangHoa);
            this.Panel2.Controls.Add(this.radQuocGia);
            this.Panel2.Controls.Add(this.radKhachHang);
            this.Panel2.Controls.Add(this.radNhaCungCap);
            this.Panel2.Controls.Add(this.radHangSanXuat);
            this.Panel2.Controls.Add(this.radNganhHang);
            this.Panel2.Controls.Add(this.radLoaiKhachHang);
            this.Panel2.Controls.Add(this.radNganhKinhDoanh);
            this.Panel2.Controls.Add(this.radDonViTinh);
            this.Panel2.Dock = DockStyle.Fill;
            point = new Point(0, 60);
            this.Panel2.Location = point;
            this.Panel2.Name = "Panel2";
            size = new Size(0x2d3, 0xfc);
            this.Panel2.Size = size;
            this.Panel2.TabIndex = 1;
            this.radKho.AutoSize = true;
            this.radKho.BackColor = Color.Transparent;
            this.radKho.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x182, 0x2a);
            this.radKho.Location = point;
            this.radKho.Name = "radKho";
            size = new Size(0x60, 0x11);
            this.radKho.Size = size;
            this.radKho.TabIndex = 10;
            this.radKho.TabStop = true;
            this.radKho.Tag = "E011";
            this.radKho.Text = "Danh mục Kho";
            this.radKho.UseVisualStyleBackColor = false;
            this.Label3.AutoSize = true;
            this.Label3.BackColor = Color.Transparent;
            this.Label3.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            point = new Point(12, 13);
            this.Label3.Location = point;
            this.Label3.Name = "Label3";
            size = new Size(0x66, 13);
            this.Label3.Size = size;
            this.Label3.TabIndex = 4;
            this.Label3.Text = "Chọn loại dữ liệu";
            this.radHangHoa.AutoSize = true;
            this.radHangHoa.BackColor = Color.Transparent;
            this.radHangHoa.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x182, 0x86);
            this.radHangHoa.Location = point;
            this.radHangHoa.Name = "radHangHoa";
            size = new Size(0x7c, 0x11);
            this.radHangHoa.Size = size;
            this.radHangHoa.TabIndex = 9;
            this.radHangHoa.TabStop = true;
            this.radHangHoa.Tag = "E010";
            this.radHangHoa.Text = "Danh mục H\x00e0ng h\x00f3a";
            this.radHangHoa.UseVisualStyleBackColor = false;
            this.radNhomHangHoa.AutoSize = true;
            this.radNhomHangHoa.BackColor = Color.Transparent;
            this.radNhomHangHoa.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x182, 0x41);
            this.radNhomHangHoa.Location = point;
            this.radNhomHangHoa.Name = "radNhomHangHoa";
            size = new Size(0x99, 0x11);
            this.radNhomHangHoa.Size = size;
            this.radNhomHangHoa.TabIndex = 8;
            this.radNhomHangHoa.TabStop = true;
            this.radNhomHangHoa.Tag = "E007";
            this.radNhomHangHoa.Text = "Danh mục Nh\x00f3m h\x00e0ng h\x00f3a";
            this.radNhomHangHoa.UseVisualStyleBackColor = false;
            this.radQuocGia.AutoSize = true;
            this.radQuocGia.BackColor = Color.Transparent;
            this.radQuocGia.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x84, 0x9d);
            this.radQuocGia.Location = point;
            this.radQuocGia.Name = "radQuocGia";
            size = new Size(120, 0x11);
            this.radQuocGia.Size = size;
            this.radQuocGia.TabIndex = 7;
            this.radQuocGia.TabStop = true;
            this.radQuocGia.Tag = "E006";
            this.radQuocGia.Text = "Danh mục Quốc gia";
            this.radQuocGia.UseVisualStyleBackColor = false;
            this.radKhachHang.AutoSize = true;
            this.radKhachHang.BackColor = Color.Transparent;
            this.radKhachHang.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x182, 0x58);
            this.radKhachHang.Location = point;
            this.radKhachHang.Name = "radKhachHang";
            size = new Size(0x87, 0x11);
            this.radKhachHang.Size = size;
            this.radKhachHang.TabIndex = 6;
            this.radKhachHang.TabStop = true;
            this.radKhachHang.Tag = "E008";
            this.radKhachHang.Text = "Danh mục Kh\x00e1ch h\x00e0ng";
            this.radKhachHang.UseVisualStyleBackColor = false;
            this.radNhaCungCap.AutoSize = true;
            this.radNhaCungCap.BackColor = Color.Transparent;
            this.radNhaCungCap.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x182, 0x6f);
            this.radNhaCungCap.Location = point;
            this.radNhaCungCap.Name = "radNhaCungCap";
            size = new Size(0x91, 0x11);
            this.radNhaCungCap.Size = size;
            this.radNhaCungCap.TabIndex = 5;
            this.radNhaCungCap.TabStop = true;
            this.radNhaCungCap.Tag = "E009";
            this.radNhaCungCap.Text = "Danh mục Nh\x00e0 cung cấp";
            this.radNhaCungCap.UseVisualStyleBackColor = false;
            this.radHangSanXuat.AutoSize = true;
            this.radHangSanXuat.BackColor = Color.Transparent;
            this.radHangSanXuat.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x84, 0x41);
            this.radHangSanXuat.Location = point;
            this.radHangSanXuat.Name = "radHangSanXuat";
            size = new Size(0x92, 0x11);
            this.radHangSanXuat.Size = size;
            this.radHangSanXuat.TabIndex = 4;
            this.radHangSanXuat.TabStop = true;
            this.radHangSanXuat.Tag = "E002";
            this.radHangSanXuat.Text = "Danh mục H\x00e3ng sản xuất";
            this.radHangSanXuat.UseVisualStyleBackColor = false;
            this.radNganhHang.AutoSize = true;
            this.radNganhHang.BackColor = Color.Transparent;
            this.radNganhHang.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x84, 0x6f);
            this.radNganhHang.Location = point;
            this.radNganhHang.Name = "radNganhHang";
            size = new Size(0x88, 0x11);
            this.radNganhHang.Size = size;
            this.radNganhHang.TabIndex = 3;
            this.radNganhHang.TabStop = true;
            this.radNganhHang.Tag = "E004";
            this.radNganhHang.Text = "Danh mục Ng\x00e0nh h\x00e0ng";
            this.radNganhHang.UseVisualStyleBackColor = false;
            this.radLoaiKhachHang.AutoSize = true;
            this.radLoaiKhachHang.BackColor = Color.Transparent;
            this.radLoaiKhachHang.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x84, 0x58);
            this.radLoaiKhachHang.Location = point;
            this.radLoaiKhachHang.Name = "radLoaiKhachHang";
            size = new Size(0x9e, 0x11);
            this.radLoaiKhachHang.Size = size;
            this.radLoaiKhachHang.TabIndex = 2;
            this.radLoaiKhachHang.TabStop = true;
            this.radLoaiKhachHang.Tag = "E003";
            this.radLoaiKhachHang.Text = "Danh mục Loại Kh\x00e1ch h\x00e0ng";
            this.radLoaiKhachHang.UseVisualStyleBackColor = false;
            this.radNganhKinhDoanh.AutoSize = true;
            this.radNganhKinhDoanh.BackColor = Color.Transparent;
            this.radNganhKinhDoanh.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x84, 0x86);
            this.radNganhKinhDoanh.Location = point;
            this.radNganhKinhDoanh.Name = "radNganhKinhDoanh";
            size = new Size(0xa5, 0x11);
            this.radNganhKinhDoanh.Size = size;
            this.radNganhKinhDoanh.TabIndex = 1;
            this.radNganhKinhDoanh.TabStop = true;
            this.radNganhKinhDoanh.Tag = "E005";
            this.radNganhKinhDoanh.Text = "Danh mục Ng\x00e0nh kinh doanh";
            this.radNganhKinhDoanh.UseVisualStyleBackColor = false;
            this.radDonViTinh.AutoSize = true;
            this.radDonViTinh.BackColor = Color.Transparent;
            this.radDonViTinh.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x84, 0x2a);
            this.radDonViTinh.Location = point;
            this.radDonViTinh.Name = "radDonViTinh";
            size = new Size(130, 0x11);
            this.radDonViTinh.Size = size;
            this.radDonViTinh.TabIndex = 0;
            this.radDonViTinh.TabStop = true;
            this.radDonViTinh.Tag = "E001";
            this.radDonViTinh.Text = "Danh mục Đơn vị t\x00ednh";
            this.radDonViTinh.UseVisualStyleBackColor = false;
            this.Panel1.BackgroundImage = ACCOUNTING.My.Resources.Resources.bgleft;
            this.Panel1.Controls.Add(this.Label2);
            this.Panel1.Controls.Add(this.Label1);
            this.Panel1.Controls.Add(this.cmdLoad);
            this.Panel1.Controls.Add(this.txtFileName);
            this.Panel1.Dock = DockStyle.Top;
            point = new Point(0, 0);
            this.Panel1.Location = point;
            this.Panel1.Name = "Panel1";
            size = new Size(0x2d3, 60);
            this.Panel1.Size = size;
            this.Panel1.TabIndex = 0;
            this.Label2.AutoSize = true;
            this.Label2.BackColor = Color.Transparent;
            this.Label2.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            point = new Point(12, 9);
            this.Label2.Location = point;
            this.Label2.Name = "Label2";
            size = new Size(0x4c, 13);
            this.Label2.Size = size;
            this.Label2.TabIndex = 3;
            this.Label2.Text = "Chọn tệp tin";
            this.Label1.AutoSize = true;
            this.Label1.BackColor = Color.Transparent;
            point = new Point(0x2f, 0x22);
            this.Label1.Location = point;
            this.Label1.Name = "Label1";
            size = new Size(0x94, 13);
            this.Label1.Size = size;
            this.Label1.TabIndex = 2;
            this.Label1.Text = "Đường dẫn đến tệp tin dữ liệu";
            this.cmdLoad.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0x25f, 0x1d);
            this.cmdLoad.Location = point;
            this.cmdLoad.Name = "cmdLoad";
            size = new Size(0x21, 0x17);
            this.cmdLoad.Size = size;
            this.cmdLoad.TabIndex = 1;
            this.cmdLoad.Text = " ...";
            this.cmdLoad.UseVisualStyleBackColor = true;
            this.txtFileName.Font = new Font("Microsoft Sans Serif", 10f, FontStyle.Regular, GraphicsUnit.Point, 0);
            point = new Point(0xcf, 0x1d);
            this.txtFileName.Location = point;
            this.txtFileName.Name = "txtFileName";
            this.txtFileName.ReadOnly = true;
            size = new Size(400, 0x17);
            this.txtFileName.Size = size;
            this.txtFileName.TabIndex = 0;
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            size = new Size(0x2d3, 0x138);
            this.ClientSize = size;
            this.Controls.Add(this.Panel3);
            this.Controls.Add(this.Panel2);
            this.Controls.Add(this.Panel1);
            this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
            this.Name = "Frm_NhapDuLieu";
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "NHAP DU LIEU TU EXCEL";
            this.Panel3.ResumeLayout(false);
            this.Panel2.ResumeLayout(false);
            this.Panel2.PerformLayout();
            this.Panel1.ResumeLayout(false);
            this.Panel1.PerformLayout();
            this.ResumeLayout(false);
        }

        private void radCheck_CheckedChanged(object sender, EventArgs e)
        {
            this.strLoai = Conversions.ToString(NewLateBinding.LateGet(sender, null, "Tag", new object[0], null, null, null));
        }

        internal virtual Button CmdChon
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdChon;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdChon_Click);
                if (this._CmdChon != null)
                {
                    this._CmdChon.Click -= handler;
                }
                this._CmdChon = value;
                if (this._CmdChon != null)
                {
                    this._CmdChon.Click += handler;
                }
            }
        }

        internal virtual Button cmdLoad
        {
            [DebuggerNonUserCode]
            get
            {
                return this._cmdLoad;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.cmdLoad_Click);
                if (this._cmdLoad != null)
                {
                    this._cmdLoad.Click -= handler;
                }
                this._cmdLoad = value;
                if (this._cmdLoad != null)
                {
                    this._cmdLoad.Click += handler;
                }
            }
        }

        internal virtual Button cmdThoat
        {
            [DebuggerNonUserCode]
            get
            {
                return this._cmdThoat;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.cmdThoat_Click);
                if (this._cmdThoat != null)
                {
                    this._cmdThoat.Click -= handler;
                }
                this._cmdThoat = value;
                if (this._cmdThoat != null)
                {
                    this._cmdThoat.Click += handler;
                }
            }
        }

        internal virtual OpenFileDialog dlg
        {
            [DebuggerNonUserCode]
            get
            {
                return this._dlg;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._dlg = value;
            }
        }

        internal virtual Label Label1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label1 = value;
            }
        }

        internal virtual Label Label2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label2 = value;
            }
        }

        internal virtual Label Label3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label3 = value;
            }
        }

        internal virtual Panel Panel1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Panel1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Panel1 = value;
            }
        }

        internal virtual Panel Panel2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Panel2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Panel2 = value;
            }
        }

        internal virtual Panel Panel3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Panel3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Panel3 = value;
            }
        }

        internal virtual RadioButton radDonViTinh
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radDonViTinh;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radDonViTinh != null)
                {
                    this._radDonViTinh.CheckedChanged -= handler;
                }
                this._radDonViTinh = value;
                if (this._radDonViTinh != null)
                {
                    this._radDonViTinh.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radHangHoa
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radHangHoa;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radHangHoa != null)
                {
                    this._radHangHoa.CheckedChanged -= handler;
                }
                this._radHangHoa = value;
                if (this._radHangHoa != null)
                {
                    this._radHangHoa.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radHangSanXuat
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radHangSanXuat;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radHangSanXuat != null)
                {
                    this._radHangSanXuat.CheckedChanged -= handler;
                }
                this._radHangSanXuat = value;
                if (this._radHangSanXuat != null)
                {
                    this._radHangSanXuat.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radKhachHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radKhachHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radKhachHang != null)
                {
                    this._radKhachHang.CheckedChanged -= handler;
                }
                this._radKhachHang = value;
                if (this._radKhachHang != null)
                {
                    this._radKhachHang.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radKho
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radKho;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radKho != null)
                {
                    this._radKho.CheckedChanged -= handler;
                }
                this._radKho = value;
                if (this._radKho != null)
                {
                    this._radKho.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radLoaiKhachHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radLoaiKhachHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radLoaiKhachHang != null)
                {
                    this._radLoaiKhachHang.CheckedChanged -= handler;
                }
                this._radLoaiKhachHang = value;
                if (this._radLoaiKhachHang != null)
                {
                    this._radLoaiKhachHang.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radNganhHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radNganhHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radNganhHang != null)
                {
                    this._radNganhHang.CheckedChanged -= handler;
                }
                this._radNganhHang = value;
                if (this._radNganhHang != null)
                {
                    this._radNganhHang.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radNganhKinhDoanh
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radNganhKinhDoanh;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radNganhKinhDoanh != null)
                {
                    this._radNganhKinhDoanh.CheckedChanged -= handler;
                }
                this._radNganhKinhDoanh = value;
                if (this._radNganhKinhDoanh != null)
                {
                    this._radNganhKinhDoanh.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radNhaCungCap
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radNhaCungCap;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radNhaCungCap != null)
                {
                    this._radNhaCungCap.CheckedChanged -= handler;
                }
                this._radNhaCungCap = value;
                if (this._radNhaCungCap != null)
                {
                    this._radNhaCungCap.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radNhomHangHoa
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radNhomHangHoa;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radNhomHangHoa != null)
                {
                    this._radNhomHangHoa.CheckedChanged -= handler;
                }
                this._radNhomHangHoa = value;
                if (this._radNhomHangHoa != null)
                {
                    this._radNhomHangHoa.CheckedChanged += handler;
                }
            }
        }

        internal virtual RadioButton radQuocGia
        {
            [DebuggerNonUserCode]
            get
            {
                return this._radQuocGia;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.radCheck_CheckedChanged);
                if (this._radQuocGia != null)
                {
                    this._radQuocGia.CheckedChanged -= handler;
                }
                this._radQuocGia = value;
                if (this._radQuocGia != null)
                {
                    this._radQuocGia.CheckedChanged += handler;
                }
            }
        }

        internal virtual TextBox txtFileName
        {
            [DebuggerNonUserCode]
            get
            {
                return this._txtFileName;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._txtFileName = value;
            }
        }
    }
}

